﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Group.aspx.cs" Inherits="YouthCMS.Admins.Group" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="GroupObjectDataSource1"
        AllowPaging="True" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None"
        BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
            <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
            <asp:BoundField DataField="StartTime" HeaderText="StartTime" SortExpression="StartTime" />
            <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
            <asp:HyperLinkField DataTextField="ID" DataNavigateUrlFields="ID" DataTextFormatString="Slet"
                DataNavigateUrlFormatString="~/Admins/Group.aspx?delete={0}" HeaderText="Slet Hold"
                Text="Slet Mig">
                <ControlStyle BackColor="#9999FF" />
            </asp:HyperLinkField>
        </Columns>
        <FooterStyle CssClass="makeSpaceGrid" BackColor="#880EBB" />
        <HeaderStyle CssClass="makeSpaceGrid" BackColor="#880EBB" Font-Bold="True" ForeColor="white" />
        <PagerStyle CssClass="makeSpaceGrid" BackColor="#880EBB" ForeColor="white" HorizontalAlign="Right" />
        <RowStyle CssClass="makeSpaceGrid" BackColor="white" />
        <SelectedRowStyle CssClass="makeSpaceGrid" BackColor="white" Font-Bold="True" ForeColor="#880EBB" />
        <SortedAscendingCellStyle CssClass="makeSpaceGrid" BackColor="white" />
        <SortedAscendingHeaderStyle CssClass="makeSpaceGrid" BackColor="white" />
        <SortedDescendingCellStyle CssClass="makeSpaceGrid" BackColor="white" />
        <SortedDescendingHeaderStyle CssClass="makeSpaceGrid" BackColor="white" />
    </asp:GridView>
    <asp:ObjectDataSource ID="GroupObjectDataSource1" runat="server" SelectMethod="GetGroups"
        TypeName="YouthCMS.Data.GroupDAL"></asp:ObjectDataSource>
</asp:Content>
